import { observable } from 'mobx'

const pageStore = observable({
  pageName: "首页",
  setPageName(name) {
    this.pageName = name
  },
  setPageNameAsync(name) {
    setTimeout(() => {
      this.pageName = name
    }, 1000)
  }
})

export default pageStore